/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.dahg.project.istu.controller.bean.commons.publicos;

import com.dahg.project.istu.controller.bean.commons.locales.RolCatalogoService;
import com.dahg.project.istu.controller.bean.AbstractBasic;
import com.dahg.project.istu.controller.bean.commons.locales.CuentaCatalogoService;
import com.dahg.project.istu.controller.bean.commons.locales.DepartamentoCatalogoService;
import com.dahg.project.istu.controller.bean.commons.locales.PuestoCatalogoService;
import com.dahg.project.istu.controller.model.Cuenta;
import com.dahg.project.istu.controller.model.Departamento;
import com.dahg.project.istu.controller.model.Municipio;
import com.dahg.project.istu.controller.model.Puesto;
import com.dahg.project.istu.controller.model.Rol;
import com.dahg.project.istu.controller.model.UnidadMedida;
import com.dahg.project.istu.controller.services.IServiceCatalogo;
import com.dahg.project.istu.controller.services.publicos.ICatalogoGeneralService;

import javax.ejb.EJB;
import javax.ejb.Stateless;

/**
 *
 * @author Jose
 */
@Stateless
public class CatalogoService extends AbstractBasic implements ICatalogoGeneralService {

    @EJB
    private RolCatalogoService rolCatalogo;
    @EJB
    private CuentaCatalogoService cuentaCatalogo;
    @EJB
    private DepartamentoCatalogoService departamentoCatalogo;
    @EJB
    private PuestoCatalogoService puestoCatalogo;

    @Override
    public IServiceCatalogo<Rol> getRolCatalogo() {
        return rolCatalogo;
    }

    @Override
    public IServiceCatalogo<Cuenta> getCuentaCatalogo() {
        return cuentaCatalogo;
    }

    @Override
    public IServiceCatalogo<Departamento> getDepartamentoCatalogo() {
        return departamentoCatalogo;
    }

    @Override
    public IServiceCatalogo<Municipio> getMuniciopioCatalogo() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public IServiceCatalogo<Puesto> getPuestoCatalogo() {
        return puestoCatalogo;
    }

    @Override
    public IServiceCatalogo<UnidadMedida> getUnidadMedidaCatalogo() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
}
